package com.weimob.cloud.api.shop.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.weimob.cloud.api.common.WeimobCloudRsp;
import com.weimob.cloud.api.shop.req.WeimobShopAfterSaleOrderDetailReq;
import com.weimob.cloud.api.shop.rsp.WeimobShopAfterSalesDetailRsp;
import com.weimob.cloud.api.token.interceptor.WeimobTokenInterceptor;

/**
 * 微明云平台商城售后管理客户端接口
 */
@BaseRequest(baseURL = "https://dopen.weimob.com/apigw/weimob_shop/v2.0/rights", interceptor = WeimobTokenInterceptor.class)
public interface WeimobShopRightsClient {

    /**
     * 查询售后单详情
     */
    @Post(url = "/detail/get?accesstoken=${accessToken}")
    WeimobCloudRsp<WeimobShopAfterSalesDetailRsp> afterSaleOrderDetail(@JSONBody WeimobShopAfterSaleOrderDetailReq req);
}
